import { request } from '@inbiz/utils';

export const getApps = (params) => {
  return request(
    `/inbiz/api/services/front/engines/v${InbizConfig.API_VERSION}/app/appElementList`,
    {
      params,
    },
  );
};

export const getLabels = () => {
  return request(`/inbiz/api/services/engines/v${InbizConfig.API_VERSION}/tag`, {
    params: { moduleId: 'A53E7D6A-2BF8-49A6-BE8C-5B3020193BF5' },
  });
};
